package br.com.ffm.mtfw.tests.classes;

import br.com.ffm.mtfw.classes.Tenant;
import br.com.ffm.mtfw.interfaces.TenantUser;
import br.com.ffm.mtfw.interfaces.Tenantable;

/**
 *
 * @author matheus
 */
@TenantUser(tableName = "CLIENTE")
public class Cliente implements Tenantable {

    private int codigo;
    private String nome;
    private Tenant tenant;

    public Cliente(Tenant tenant) {
        this.tenant = tenant;
    }

    public Cliente(int codigo, String nome, Tenant tenant) {
        this.codigo = codigo;
        this.nome = nome;
        this.tenant = tenant;
    }

    public int getCodigo() {
        return codigo;
    }

    public String getNome() {
        return nome;
    }

    @Override
    public Tenant getTenant() {
        return this.tenant;
    }
}
